Warning: mkdir(): No space left on device in /var/www/tg-me/post.php on line 37

Warning: file_put_contents(aCache/aDaily/post/rust_daily_news/--): Failed to open stream: No such file or directory in /var/www/tg-me/post.php on line 50
Rust 视界 | Telegram Webview: rust_daily_news/5874 -
Telegram Group & Telegram Channel
crates.io 上的 API token scope现在处于公开 Beta 测试期!

https://crates.io/settings/tokens/new

该功能允许用户选择 token 可以调用哪些 endpoints 以及可以影响哪些crates。此功能用于改善 CI 场景(例如在推送 git 标签后自动发布 crates)。

RFC 中定义的 endpoint scope:

- publish-new: 允许发布新的 crate , 对应 endpoint: PUT /crates/new (new crates) PUT /crates/new
- publish-update: 允许用户更新现有 crate , 对应 endpoint: PUT /crates/new (existing crates) PUT /crates/new
- yank: 允许撤销和取消撤销用户创建的现有版本, 对应 endpoint: DELETE or PUT /crates/:crate_id/:version/unyank
- change-owners: 允许邀请新的所有者或删除现有的所有者, 对应 endpoint: DELETE or PUT /crates/:crate_id/owners
- legacy: 允许访问 crates.io 上的所有endpoint,除了创建新token,例如在实施此 RFC 之前创建的token。 , 对应 endpoint: 除了 PUT /me/tokens 之外的一切


https://blog.rust-lang.org/inside-rust/2023/05/09/api-token-scopes.html



tg-me.com/rust_daily_news/5874
Create:
Last Update:

crates.io 上的 API token scope现在处于公开 Beta 测试期!

https://crates.io/settings/tokens/new

该功能允许用户选择 token 可以调用哪些 endpoints 以及可以影响哪些crates。此功能用于改善 CI 场景(例如在推送 git 标签后自动发布 crates)。

RFC 中定义的 endpoint scope:

- publish-new: 允许发布新的 crate , 对应 endpoint: PUT /crates/new (new crates) PUT /crates/new
- publish-update: 允许用户更新现有 crate , 对应 endpoint: PUT /crates/new (existing crates) PUT /crates/new
- yank: 允许撤销和取消撤销用户创建的现有版本, 对应 endpoint: DELETE or PUT /crates/:crate_id/:version/unyank
- change-owners: 允许邀请新的所有者或删除现有的所有者, 对应 endpoint: DELETE or PUT /crates/:crate_id/owners
- legacy: 允许访问 crates.io 上的所有endpoint,除了创建新token,例如在实施此 RFC 之前创建的token。 , 对应 endpoint: 除了 PUT /me/tokens 之外的一切


https://blog.rust-lang.org/inside-rust/2023/05/09/api-token-scopes.html

BY Rust 视界




Share with your friend now:
tg-me.com/rust_daily_news/5874

View MORE
Open in Telegram


Rust 视界 Telegram | DID YOU KNOW?

Date: |

A Telegram spokesman declined to comment on the bond issue or the amount of the debt the company has due. The spokesman said Telegram’s equipment and bandwidth costs are growing because it has consistently posted more than 40% year-to-year growth in users.

Export WhatsApp stickers to Telegram on iPhone

You can’t. What you can do, though, is use WhatsApp’s and Telegram’s web platforms to transfer stickers. It’s easy, but might take a while.Open WhatsApp in your browser, find a sticker you like in a chat, and right-click on it to save it as an image. The file won’t be a picture, though—it’s a webpage and will have a .webp extension. Don’t be scared, this is the way. Repeat this step to save as many stickers as you want.Then, open Telegram in your browser and go into your Saved messages chat. Just as you’d share a file with a friend, click the Share file button on the bottom left of the chat window (it looks like a dog-eared paper), and select the .webp files you downloaded. Click Open and you’ll see your stickers in your Saved messages chat. This is now your sticker depository. To use them, forward them as you would a message from one chat to the other: by clicking or long-pressing on the sticker, and then choosing Forward.

Rust 视界 from hk


Telegram Rust 视界
FROM USA